package com.atguigu.service;

import com.atguigu.entity.PageResult;
import com.atguigu.pojo.TravelGroup;

import java.util.List;

public interface TravelGroupService {
    void add(TravelGroup travelGroup, Integer[] travelItemIds);



    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);


    TravelGroup get(Integer id);

    List<Integer> getTravelItemIdByTravelGroupId(Integer travelGroupId);

    void edit(TravelGroup travelGroup, Integer[] travelItemIds);

    void delete(Integer id);

    List<TravelGroup> findAll();
}
